package com.TwinBlade.PicturePassword;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;

public class UpgradeReceiver extends BroadcastReceiver
{
  public void onReceive(Context paramContext, Intent paramIntent)
  {
    if ((paramIntent.getAction().equals("android.intent.action.PACKAGE_REPLACED")) && (PreferenceManager.getDefaultSharedPreferences(paramContext).getBoolean("MainEnabled", false)) && (Utilities.a(true, true)))
      paramContext.startService(new Intent(paramContext, AService.class));
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.TwinBlade.PicturePassword.UpgradeReceiver
 * JD-Core Version:    0.6.2
 */